package com.bolong.gmgc.bean.record;

import java.io.Serializable;
import java.util.Date;

public class BerthSign implements Serializable {
    /**
     * 泊位管理历史记录表id
     */
    private String id;

    /**
     * 泊区管理员的员工id
     */
    private String empId;

    /**
     * 签入或签出时间
     */
    private Date signTime;

    /**
     * 签到类型 1.上班签到 2.下班签出 3.自动签出
     */
    private Integer signType;

    /**
     * 签入签出时拍摄的照片
     */
    private String signPhoto;

    /**
     * 签到地址
     */
    private String signAddress;

    /**
     * 设备id
     */
    private String equipmentId;

    /**
     * 签到泊区id
     */
    private String zoneId;

    /**
     * 本次签到token
     */
    private String token;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId == null ? null : empId.trim();
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public Integer getSignType() {
        return signType;
    }

    public void setSignType(Integer signType) {
        this.signType = signType;
    }

    public String getSignPhoto() {
        return signPhoto;
    }

    public void setSignPhoto(String signPhoto) {
        this.signPhoto = signPhoto;
    }

    public String getSignAddress() {
        return signAddress;
    }

    public void setSignAddress(String signAddress) {
        this.signAddress = signAddress == null ? null : signAddress.trim();
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId == null ? null : equipmentId.trim();
    }

    public String getZoneId() {
        return zoneId;
    }

    public void setZoneId(String zoneId) {
        this.zoneId = zoneId == null ? null : zoneId.trim();
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", empId=").append(empId);
        sb.append(", signTime=").append(signTime);
        sb.append(", signType=").append(signType);
        sb.append(", signPhoto=").append(signPhoto);
        sb.append(", signAddress=").append(signAddress);
        sb.append(", equipmentId=").append(equipmentId);
        sb.append(", zoneId=").append(zoneId);
        sb.append(", token=").append(token);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}